<?php
namespace osc\admin\controller;
class Index extends AdminBase{
	
    public function index()
    {
    	
		    
		return $this->fetch();   
    }
	
	public function logout(){
		storage_user_action(UID,session('user_auth.username'),config('BACKEND_USER'),'退出了系统');
		$this->user->logout();		
		$this->redirect('Login/login');
	}
	
}
